home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 013 / ds221.arc / DS_READ.ME < prev    next >
Encoding:
Text File  |  1987-01-01  |  16.4 KB  |  295 lines

  1.                         DIRECTORY SCANNER PROGRAM
  2.                                Ver 2.21
  3.  
  4.  ///  Users of Ver 2.12 (and earlier) updating to Ver 2.21 MUST (repeat     \\\
  5. ***   MUST) use the new  version  of DS_DRIVE.SYS contained herein.          ***
  6.  \\\  Ver 2.21 will not work correctly with older versions of DS_DRIVE.SYS ///
  7.  
  8.     Presents a full screen display of the directory structure of a given
  9. disk drive.  The display looks like the following:
  10.  
  11. █████ Drive  C ███████████████████████████████ C:\DIR2 ████████████████████████
  12. █ C:\                █  backup  .exe    ║ finder  .com     ║ guts    .zzz     █
  13. █  ╟─ dir1           █  create  .com    ║ finder  .exe     ║ help    .def     █
  14. █  ╟─ dir2           █  dump    .asm    ║ finder  .obj     ║ killer  .com     █
  15. █  ║   ╟─ sub1       █  dump    .exe    ║ guts    .asm     ║ print   .com     █
  16. █  ║   ╙─ sub2       █  dump    .obj    ║»guts    .com«    ║ qsort   .exe     █
  17. █  ╙─ dir3           █  eater   .bas    ║ guts    .exe     ║ vdisk   .sys     █
  18. █                    █  eats            ║ guts    .obj     ║ zoo     .bas     █
  19. █                    █  eatz    .bat    ║                  ║                  █
  20. █                    █                  ║                  ║                  █
  21. █                    █                  ║                  ║                  █
  22. █                    █                  ║                  ║                  █
  23. █                    █                  ║                  ║                  █
  24. █                    █                  ║                  ║                  █
  25. █                    █                  ║                  ║                  █
  26. █                    █                  ║                  ║                  █
  27. █                    █                  ║                  ║                  █
  28. █                    █                  ║                  ║                  █
  29. █                    █                  ║                  ║                  █
  30. █                    █                  ║                  ║                  █
  31. █                    █                  ║                  ║                  █
  32. ███████████████████████████████████████████████████████████████████████████████
  33. Total: 10,456,123 │ Help=?  Name ^ │ Files: 22   Used: 137,354        Tagged: 0
  34. Used:   8 000,000 │ Free Core 146K │ ────name────  ──size── ──date─── time─ atr
  35. Free:   2,456,123 │ Disk  80% Full │ guts    .com    17,123 10 Aug 85 18:30 r
  36. -------------------------------------------------------------------------------
  37.    This program consists of the following files:
  38.                                                  
  39.    DS_READ.ME   - This read.me file
  40.  
  41.    DS_DRIVE.SYS - File  loaded  as  a  device  driver that  reserves 10K of 
  42.                   memory   to   store   hard   disk   directory   structure 
  43.                   information.  This  memory  area  is  used  so  that upon 
  44.                   reactivation of "DS.EXE",  repeat scanning of the disk is 
  45.                   not  needed  to  determine  the disk directory structure.  
  46.                   This  file  requires  the   following   entry   in   your 
  47.                   "CONFIG.SYS" file: 
  48.  
  49.                             DEVICE=DS_DRIVE.SYS  D:C
  50.                                                  ^^^--- Drive specifier
  51.  
  52.                             where  D:C    indicates only  drive C  will  be 
  53.                                           maintained by the driver.
  54.                               or   D:CD   indicates  drives C & D  will  be
  55.                                           maintained by the driver.
  56.  
  57.                             Note:  Currently only a max of 2 drives may  be
  58.                                specified.  If the drive specifier  is  left 
  59.                                off,  the  device  driver  will  default  to 
  60.                                saving 2  drives  and  both  must  be  fixed 
  61.                                disks.  If you have only 1 HD drive to save, 
  62.                                it's  highly  recommended  that  you specify 
  63.                                that 1 drive so that the device driver  will 
  64.                                allocate all of its reserved memory area for 
  65.                                that  one drive.  It is recommended that you 
  66.                                do not specify floppy  disk  drives  or  RAM 
  67.                                drives  here  as  they  take  little time to 
  68.                                rescan the full drive directory structure.  
  69.  
  70.                   The above entry is required in your "config.sys" file  so 
  71.                   that  upon  booting your system,  the file is loaded as a 
  72.                   device driver.  Upon successful booting  and  loading  of 
  73.                   this file you should see the following message: 
  74.  
  75.                           "DSCANNER Drv 2.21 Installed"   
  76.                                   
  77.                   This  file  is  mandatory  for  the  program  to  operate 
  78.                   correctly.  Without this file the DS  program  must  seek 
  79.                   out  the  entire  hard disk directory structure each time 
  80.                   the program is activated.  This disk directory  structure 
  81.                   scan  can  take  upwards of 10 seconds to accomplish on a 
  82.                   10M hard disk.  Even longer for larger  and  fuller  hard 
  83.                   disks.  With  this file installed at boot time the DS.EXE 
  84.                   program can maintain directory data on up to 2 drives.  
  85.  
  86.    DS.EXE    -    The directory scanner program.  Can be executed by typing
  87.                   the following: 
  88.  
  89.                          "ds" - Start program on the default drive.  If the 
  90.                                   DS_DRIVE.SYS  memory area has been loaded 
  91.                                   and    contains    directory    structure 
  92.                                   information  then  rescanning of the disk 
  93.                                   for the directory structure info  is  not 
  94.                                   necessary.  
  95.  
  96.                          "ds c" - Start program with "c" drive as the first 
  97.                                   displayed  drive.  This  format  is  also 
  98.                                   used  if  it  becomes necessary to rescan 
  99.                                   the disk directory  structure  and  avoid 
  100.                                   using    possibly    outdated   directory 
  101.                                   structure information  contained  in  the 
  102.                                   DS_DRIVE.SYS driver memory area. There is 
  103.                                   an option within the DS  program  (ALT-R) 
  104.                                   to   rescan  the  drive  and  update  the 
  105.                                   directory structure information  so  that 
  106.                                   exiting and re-entering DS with "ds c" is 
  107.                                   not necessary.  
  108.  
  109.  
  110.    DS_BKUP.EXE -  The backup program which is activated from within  the DS 
  111.                   program by selecting the "b" option.  This program is not 
  112.                   a  self sufficient program.  It cannot be executed on its 
  113.                   own and work properly.  It expects  to  obtain  directory 
  114.                   structure  information from the DS_DRIVE.SYS memory area.  
  115.                   The DS_BKUP.EXE program must reside  in  a  directory  in 
  116.                   your PATH.  
  117.  
  118.  
  119.    DS_.DOC      - An abbreviated user document.
  120.  
  121.  
  122.    DS_MOUSE.MSC - Source  file for a  Mouse  Systems optical mouse  device
  123.                   driver.
  124.  
  125.  
  126.    CURRENT PROGRAM LIMITATIONS:
  127.  
  128.        MS/PC DOS 2.0+
  129.  
  130.        Maximum number of fixed/hard disk drives supported/saved: 2
  131.  
  132.         NOTE:  Floppy and RAM drives are supported by the program  but  not
  133.                saved to the ds_drive.sys area unless  instructed  to  by  a 
  134.                command in the config.sys file.   See the discussion  of the 
  135.                ds_drive.sys file above.
  136.  
  137.        Maximum number of directories per drive: 100
  138.  
  139.        Maximum number of files per directory: 250
  140.  
  141.        Maximum length of full pathname for any directory: 39 characters
  142.  
  143.        These limitations were chosen for no particular reason.  The program 
  144.        can be recompiled extending these limitations, but with a consequent 
  145.        increase in the size of the program.  The program currently takes up 
  146.        approximately 57K during execution. This does not include the backup 
  147.        option (which during  execution  takes  up  additional  core  -  but 
  148.        releases it upon termination of the option), nor does it include the 
  149.        ds_drive.sys device driver which permanently reserves an area in low 
  150.        memory.  
  151.  
  152.    PROGRAM BACKGROUND:
  153.        
  154.            The "directory scanner" program did not start out to be the  DOS 
  155.        shell program it is now.  Originally,  I started out to write a hard 
  156.        disk backup program to enable  backing  up  and  (more  importantly) 
  157.        restoring  the  hard  disks  on  PC's located in public rooms in the 
  158.        Computer Science Department of the  Naval  Academy.  The  midshipmen 
  159.        had  tendencies to add/delete files they shouldn't and  occasionally 
  160.        even use the dreaded "format c:" command,  so procedures  for  quick 
  161.        backup  and  restoration were necessary.  As the backup program took 
  162.        shape I recognized it had capabilities far beyond  just  backup  and 
  163.        restoring  files.  Development  of  the backup program was therefore 
  164.        temporarily suspended while the DOS shell program took  shape.  Many 
  165.        early  suggestions  for  improvement came from the other instructors 
  166.        within the CS department.  When the shell program  firmed  up,  work 
  167.        was  completed on the backup program and it was installed as the "b" 
  168.        option within the directory scanner program.  The program is written 
  169.        primarily  in  "C"  (90%)  with  a  number  of  supporting  assembly 
  170.        languages routines (10%) used to enhance display speed.  
  171.  
  172.    REVISION HISTORY:
  173.  
  174.        Ver 2.00  -  Initial public release
  175.  
  176.        Ver 2.10  -  Added CTRL-L option to show program limits.  Also added
  177.                     limit checks  to detect excessive directories/files and
  178.                     inform  user  of  problem.  Offending directories/files
  179.                     are ignored and program continues execution.
  180.  
  181.                  -  Added  ALT-F  option to show free space on drives other
  182.                     than the current drive.
  183.  
  184.                  -  Increased stack size in an attempt to eliminate sporadic
  185.                     stack overflow errors in file sort routine.
  186.  
  187.                  -  Bug  Fix.  Copy/Move  option with destination directory
  188.                     of  only  2  or  3 characters (ie: \c  or  \ds) did not
  189.                     work correctly.
  190.  
  191.        Ver 2.11  (27 May 86)
  192.                 
  193.                  -  Temporary  patch  to  file sort routine stack overflow
  194.                     problem.  
  195.  
  196.                  -  Added ALT-X option to allow execution of indicated file
  197.                     with I/O redirection possible.  Original "X" option did
  198.                     not allow for redirection.
  199.  
  200.                  -  Modified DS_DRIVE.SYS device driver to  allow  the user
  201.                     to specify the drives the driver should save. This will 
  202.                     allow users with  other  than  fixed  disks  (Bernoulli 
  203.                     boxes for example) to specify their desires.  See above 
  204.                     explanation on DS_DRIVE.SYS for proper specification of 
  205.                     desired drives.  
  206.  
  207.        Ver 2.12  (29 May 86)
  208.  
  209.                  -  Bug Fix to backup option introduced by  Ver  2.11 where 
  210.                     backup option listed 1 file in each directory twice and 
  211.                     left off 1 file that was really there.  
  212.  
  213.        Ver 2.20  (20 Dec 86)
  214.  
  215.                  -  Changed  Rescan  Directory option (old CTRL-D) to ALT-R 
  216.                     option to make room for next new option.  
  217.  
  218.                  -  Added CTRL-D option for Directory Modifications. Allows 
  219.                     addition, deletion,  and name  changing of directories.  
  220.                     Based on limited testing to date,  name  changing  only
  221.                     appears to work for PC/MS DOS 3.0+.
  222.  
  223.                  -  Added  ALT-S  option  for  Selecting & Sorting of files 
  224.                     within a directory.  Allows the user to specify a  file 
  225.                     select  filter  other  than  the  default  "*.*".  Also 
  226.                     allows  for  sorting   files   up/down   by   filename, 
  227.                     extension, size, date, or no sort (directory order).  
  228.  
  229.                  -  Installed  new  sort function to rectify previous stack 
  230.                     overflow problems with original sort routine.  
  231.  
  232.                  -  Added CTRL-V option to toggle the  displaying  of  disk
  233.                     volumn identifiers. 
  234.  
  235.        Ver 2.21  (3 Jan 87)
  236.  
  237.                  -  Fixed bug in backup option.  New sort routine added  in 
  238.                     version 2.20 caused backup program to crash if diskette
  239.                     or drive directory identified as backup destination was
  240.                     empty.  If backup option is not used, version  2.21  is
  241.                     identical to version 2.20.
  242.  
  243.    AUTHOR:     LCDR Nat Martino
  244.                Pacific Missile Test Center (Code 4002)
  245.                Point Mugu, CA  93042-5000
  246.                (805) 989-1390/1391    Autovon (351)
  247.  
  248.        Personal Biography:
  249.  
  250.           Sep 67 - Jun 71  Graduated from UC Berkeley with AB in  Geography 
  251.                            also  commissioned  an  Ensign in the Navy  thru 
  252.                            NROTC.  
  253.           Jul 71 - Aug 73  Naval aviation basic  and  advanced  training at 
  254.                            Pensacola FL, Glynco GA, and Whidbey Island WA.  
  255.           Aug 73 - Feb 76  VAQ-132  EA-6B  squadron.   The Navy's  tactical 
  256.                            electronic warfare aircraft. (1st tour) 
  257.           Feb 76 - Dec 77  Naval Postgraduate School, Monterey CA.
  258.                            MS degree in computer science.  
  259.           Jan 78 - May 80  Office of the Chief of Naval Operations (OP-643F) 
  260.                            Data  base  administrator  for  CNO  operational 
  261.                            readiness  reports  & automated support for Navy 
  262.                            Command Center.  
  263.           Jun 80 - Dec 80  VAQ-129 readiness training squadron.
  264.           Jan 81 - May 83  VAQ-137 EA-6B squadron. (2nd tour)
  265.           May 83 - Jun 86  U. S. Naval Academy. Computer Science Instructor
  266.           Jul 86 - present Pacific Missile Test Center, Pt Mugu CA.
  267.                            Software Support for EA-6B aircraft.
  268.  
  269.        As  I  am  not requesting any financial contributions for using this 
  270.        program, my only gratification is that someone finds this program to 
  271.        be of use to them.  I would request  of  those  that  do  find  this 
  272.        program to be of use the following: 
  273.  
  274.           1)  Drop me a line so I know that someone is actually  using  the 
  275.               program.  I welcome polite  suggestions  for  improvement  or 
  276.               indications  of  possible bugs.  Please do not suggest adding 
  277.               non-essential options, as the larger this program becomes the 
  278.               less useful it is as a shell to  run  other  programs.   As I
  279.               move about the base frequently, the surest way to contact  me
  280.               is by letter. If you decide to phone (which I also encourage)
  281.               but can't get me and desire me to return  your  call,  please
  282.               indicate whether you're willing to  accept a  return  collect
  283.               call.  I cannot afford to call  long distance  to all of you.
  284.               As yet I do not  have  a  modem  to  reach  out  and  connect
  285.               electronically to Compuserve or  other  boards  on  a regular
  286.               basis, so unfortunately there is no  quick  and  easy  way to
  287.               leave me a message electronically.  The modem will come after
  288.               I can afford buying a printer first.  Sorry.
  289.  
  290.           2)  Write a program of your own and place it in the public domain 
  291.               so I can use it.  
  292.  
  293.           3)  Remember how much you enjoy using this program  and  who  the
  294.               author is, as I may be asking you for a job in the future.
  295.